@import "../../variable";

.mapContainer {

}

.selAddr {
  display: block;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.map-box {
  display: flex;
  flex-direction: column;
  //border: 1px solid #dddddd;
  .map-box-head {
    display: flex;
    flex-direction: row;
    padding: 10px 10px;
    align-items: center;
    align-content: center;

    .map-search {
      //width: 30%;
    }

    .map-info {
      flex: 1;
      padding-left: 30px;

      p {
        margin-bottom: 3px;

        .curAddress {
          background-color: rgb(45, 183, 245);
          border-color: transparent;
          color: #ffffff;
          white-space: normal !important;
          display: inline !important;
        }
      }
    }
  }

  .map-box-body {
    display: flex;
    flex-direction: column;

    .map-box-tabar {
      color: #ffffff;
      background-color: @primary-color;
      padding: 5px 10px;
      position: relative;

      .switch-city {
        cursor: pointer;
      }
    }

    .map-box-box-container {
      display: flex;
      flex-direction: row;

      .map-address {
        width: 25%;
        height: 400px;
        border-right: 1px solid #dedede;
        overflow-y: auto;
        overflow-x: hidden;
        box-sizing: border-box;
      }

      .map-content {
        flex: 1;
        cursor: crosshair;
        height: 400px;
      }
    }
  }

  .map-box-footer {
  }

  .empty {
    padding: 20px 0;
    text-align: center;
  }


  :global {
    .logo-text {
      display: none !important;
    }

    .ant-empty-image {
      .ant-empty-img-default {
        width: 100%;
      }
    }

    #container > div {
      z-index: 99 !important;
    }

    .ant-tag {
      display: inline !important;
      white-space: normal !important;
    }
  }
}

.area-pane {
  display: none;
  flex-direction: column;
  width: 356px;
  height: 433px;
  padding: 10px;
  border: 1px solid #D6D6D6;
  position: absolute;
  left: 55px;
  top: 30px;
  z-index: 999;
  background: #fff;
  overflow: auto;

  &.open {
    display: flex;
  }

  //color: black;
  .area-pane-body {
    .area-pane-body-row {
      display: flex;
      flex-direction: row;
      margin-bottom: 5px;

      .area-pane-body-col-label {
        font-weight: bold;
        color: #000000;
        //width: 50px;
        flex: 1;
      }

      .area-pane-body-col-item {
        box-sizing: border-box;
        width: 285px;
        margin-top: -2px;
        word-wrap: break-word;
        word-break: normal;
        white-space: pre-wrap;

        span {
          word-break: break-all;
          white-space: pre-wrap;
          line-height: 20px;
          margin-left: 5px;
          color: #2F82C4;
          cursor: pointer;
          display: inline-block;
          font-size: 12px;
        }
      }
    }
  }
}